package com.cs.command;

/**
 * @author Sam.Lee E-mail:lishanman2007@163.com
 * @version Created：Aug 26, 2011 2:22:19 PM
 */
public class Box {
	private Command openCommand;

	private Command resetCommand;

	public void setOpenCommand(Command openCommand) {
		this.openCommand = openCommand;
	}

	public void setResetCommand(Command resetCommand) {
		this.resetCommand = resetCommand;
	}

	public void bootButton() {
		openCommand.execute();
	}

	public void resetButton() {
		resetCommand.execute();
	}

}
